﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Dialog.aspx.cs" Inherits="EDMS.SMS.Dialog" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="Styles/common.css" rel="stylesheet" type="text/css" />
    <link href="Styles/speech-bubble.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div class="mainContent">
        <h1 class="header">
            与<%=XmName %>的短信对话：</h1>
        <ul style= "list-style-type:none; ">
            <%
                foreach (var item in Dxs)
                {
                    if (item.mbsjhm.Equals(BLL.SmsBLL.SMSCENTERNUMBER))
                    {         
            %>
            <li class="clear even">
                <img alt="选民" class="avatar" src="Styles/XM_64.png" />
                <div class="comment-content">
                    <%
                        string nr = RebuildContent(item.nr);
                    %>
                    <%=nr%>
                    <p>
                        <%=item.fssj%></p>
                </div>
            </li>
            <% }
                    else
                    { 
            %>
            <li class="clear odd">
                <img alt="短信平台" class="avatar" src="Styles/SMS_64.png" />
                <div class="comment-content">
                    <%
                      string nr = RebuildContent(item.nr);
                    %>
                    <%=nr%>
                    <p>
                        <%=item.fssj%></p>
                </div>
            </li>
            <%}
                } %>
        </ul>
    </div>
    </form>
</body>
</html>
